<!--************************************************************ -->
<!--* 文件创建日期：2010                                  * -->
<!--* 文件修改日期：			                                   * -->
<!--************************************************************ -->
<!--JSP初始化设置-->
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.infomanage.po.*" %>
<%@page import="com.infomanage.vo.*" %>
<%@page import="com.infomanage.enums.*"%>
<%@page import="com.infomanage.service.plan.*"%>
<%  response.addDateHeader("Expires", 0);response.setHeader("Pragma","no-cache"); response.setHeader("Cache-Control","no-cache");%>
<%
	request.setCharacterEncoding("UTF-8");
	String positionId = request.getParameter("positionId");
    if(positionId == null) positionId = "";
    
    PositionPlanItem positionItem = PositionAdjustPlanService.loadPositionPlan(request, response, out);
    int persionId = -1;
    int deptId = -1;
    String timestamp = "";
    int positionBefore = -1;
    int positionAfter = -1;
    String personname = "";
    String deptname = "";
    if(positionItem != null) {
    	PositionPlan position = positionItem.getBean();
		Person person = positionItem.getPerson();
	    persionId = position.getPersonId();
	    personname = person.getName();
	    timestamp = position.getTimestamp();
	    positionBefore = position.getPositionBefore();
	    positionAfter = position.getPositionAfter();
    } 
%>
<html>
<head>
	<title>职务调整计划</title>
	<META HTTP-EQUIV="Pragma" CONTENT="no-cache">	
	<link href="../../css/table.css" rel="stylesheet" type="text/css">
</head>
<body  rightmargin="0" bottommargin="0" leftmargin="0" topmargin="0">
	<table class="dialogTable" cellpadding="0" cellspacing="0">
		<!-- 表头-->
		<tr class="dialogTableHeader">
			<td>职务调整计划</td>
		</tr>
		<!-- 表数据-->
		<tr class="dialogTableContent">
			<td>
				<!-- 数据项 -->
				<table class="dataTable">
					<col width="30%">
					<col width="70%">
					<tr>
						<td class="field">
							姓名
						</td>
						<td>
							<%=personname%>
						</td>
					</tr>
					<tr>
						<td class="field">
							日期
						</td>
						<td>
							<%=timestamp %>
						</td>
					</tr>
					<tr>
						<td  class="field">
							调整前职务
						</td>
						<td>
							<%=PositionType.valueOf(positionBefore).title() %>
						</td>
					</tr>
					<tr>
						<td class="field">
							调整后职务 
						</td>
						<td>
							<%=PositionType.valueOf(positionAfter).title()%>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td class="tableBtn">
				<span onclick="window.print();">打印</span>			
				<span onclick="window.close();">关闭</span>
			</td>
		</tr>
		<tr valign="top">
			<td colspan="2">
				&nbsp;
			</td>
		</tr>
	</table>
</body>
</html>